﻿#region

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

#endregion

namespace XXS.Common.BaseModel
{
    public class BaseModel : IBaseModel
    {
        /// <summary>
        ///     主键
        /// </summary>
       //[Key]
        //[DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Id { get; set; }

        /// <summary>
        ///     创建时间
        /// </summary>
        public DateTime CreateDateTime{get;set; }

        /// <summary>
        ///     创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        ///     更新时间
        /// </summary>
        public DateTime? UpdateDateTime { get; set; }

        /// <summary>
        ///     更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        ///     扩展数据
        /// </summary>
        public string Data { get; set; }
    }
}